package com.kymatrix.kycarbon.xsmd.common.enums;

import com.kymatrix.kycarbon.xsmd.common.business.common.BaseBusinessEnum;
import lombok.Getter;

/**
 * 模块类型枚举类
 */
@Getter
public enum ModuleTypeEnum implements BaseBusinessEnum {

    MENU("1", "菜单"),
    BUTTON("2", "按钮"),
    
    ;

    private String code;
    private String name;

    ModuleTypeEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    @Override
    public String getSysConfigGroupName() {
        return SysConfigGroupName.MODULE_TYPE;
    }
}
